﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace digitwhu.Models.IRepositorys
{
    interface ITeachBuildingRepository
    {
        List<int> GetTeachRoomHavingClass(int buildingId);//查找某栋教学楼的当前的所有上课教室
        List<TeachMessage> GetTeachMessage(int buildingId);    //获得某栋教室的所有留言
        bool AddTeachMessage(int buildingId, int userId, string contents);//给教室留言
        TeachMessage GetLatestTeachMessage(int buildingId); //获取某个教室的最新留言
    }
}